/*!
    create css by 2020-12-1  kexuemihe  @wang   page----精品课件
*/

// 弹窗居中盒子
.centerBox {
    border-radius: 1rem;
    position: absolute;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #FFF;
}

.header {
    box-shadow: 0px 1px 7px 0px rgba(4, 0, 0, 0.08);
}

// 没有文档时，空白也
.noneFile {
    text-align: center;
    margin-top: 9rem;

    img {
        width: 48%;
    }

    p {
        font-size: 1.2rem;
        font-family: PingFang SC;
        font-weight: 400;
        color: #666666;
        line-height: 6.2rem;
    }
}

#rightCon {
    padding: 0 2.1rem;
}

// 创建习题
.createCourse {
    >div {
        padding: 2rem 0;
        display: flex;
        div {
            cursor: pointer;
            width: 16%;
            max-width: 16%;
            $height: 3.1rem;
            height: $height;
            border-radius: $height/2;
            line-height: $height;
            text-align: center;
            font-size: 1.3rem;
            font-family: PingFang;
            font-weight: 500;
            background: #FFFFFF;
            box-shadow: 0px 0px 3px 1px rgba(172, 190, 200, 0.5);
            border-radius: 10px;
            color: rgba(5, 166, 249, 1);
        }

        .iconiconjia{
            font-size: 13px;
        }
    }
}

// 三个点下拉操作栏
.opt {
    position: absolute;
    right: 0;
    width: 45%;
    min-width: 100px;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.1);
    top: 97%;
    border-radius: 5px;
    display: none;
    z-index: 100;

    ul {
        margin: .8rem 0;
        li {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 20px;
            line-height: 3rem;
            color: #666666;

            span {
                display: inline-block;
                width: 100%;
                font-size: 1rem;
                font-family: PingFang SC;
                font-weight: 400;
            }
            em{
                padding-right: .5rem;
            }
            &:hover {
                background-color: rgba(41, 121, 248, .1);
            }
            &:nth-child(1) {
            }

            &:nth-child(2) {
                border-bottom: 1px solid #EEEEEE;
                margin-bottom: .4rem;
            }

            &:nth-child(3) {
                margin-top: .4rem;

            }
        }
    }

    img {
        width: 10px;
        position: absolute;
        top: -6%;
        left: 60%;
        z-index: 10;
    }
}

// 作业列表 
.homewordList {

    >div {
        font-family: PingFang SC;

        h4 {
            font-size: 1.4rem;
            font-weight: 500;
            color: #333333;
            line-height: 4rem;
        }

        P {
            font-size: 1.2rem;
            font-weight: 400;
            color: #666666;
        }

        >ul {
            margin-top: 1.6rem;
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 2rem;

            >li {
                position: relative;
                width: 12.5rem;
                margin-right: 3%;
                box-shadow: 0px 0px 4px 0px rgba(41, 121, 248, 0.1);
                border-radius: 5px;
                margin-bottom: 1.2rem;

                a {
                    display: flex;
                    // justify-content: center;
                    flex-direction: column;
                    align-items: center;

                    .workImg {
                        margin: 1.7rem 0;
                        width: 5.1rem;
                        height: 5.1rem;
                        background: #05A6F9;
                        border-radius: 50%;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        img {
                            width: 45%;
                        }
                    }

                    p {
                        width: 80%;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: clip;
                        font-size: 1rem;
                        font-family: PingFang;
                        font-weight: 500;
                        color: #666666;
                    }

                    .createDate {
                        width: 80%;
                        position: relative;
                        margin-bottom: 10px;
                    }

                    span {
                        font-size: .8rem;
                        font-weight: 500;
                        color: #999999;
                        text-align: left;
                        line-height: 2.3rem;
                        margin-bottom: 1rem;
                    }
                }

                .moreOpt {
                    width: 20px;
                    height: 20px;
                    position: absolute;
                    right: 0;
                    bottom: 0%;
                    cursor: pointer;

                    img {}
                }

                input {
                    margin: 0;
                    position: absolute;
                    right: 0;
                    top: 0;
                    width: 1.8rem;
                    height: 1.8rem;
                    padding: 0;
                    border-radius: 3px;
                }
            }
        }
    }


}

// 关闭按钮x
img.closeChaS {
    position: absolute;
    right: 2%;
    top: 4%;
    cursor: pointer;
}

// 新建习题弹窗
.creaCourseDislog {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background: RGBA(204, 204, 204, .3);
    font-family: PingFang SC;
    display: none;

    .centerBox {
        width: 62%;
    }

    h3 {
        font-size: 2rem;
        font-weight: 500;
        color: #333333;
        line-height: 7rem;
        margin-left: 2.7rem;
    }

    ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 2.4rem;

        li {
            margin-right: 20%;
            margin-bottom: 1.5rem;

            a {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 90px;
                height: 90px;
                background: linear-gradient(0deg, #05A6F9 0%, #71CCFC 100%);
                border-radius: 50%;

                img {
                    width: 45%;
                }
            }

            p {
                text-align: center;
                font-size: 1.5rem;
                font-weight: 400;
                color: #333333;
                line-height: 5.5rem;
            }

            &:nth-child(3) {
                margin-right: 0;
            }

            &:nth-child(4) {
                margin-left: 21%;
            }
        }
    }
}